﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace BGELanguageEditor
{
    public partial class ChooseLine : Form
    {
        public ChooseLine()
        {
            InitializeComponent();
        }

        public int LineTo;
        public int Max
        {
            get { return (int)numericUpDown1.Maximum; }
            set
            {
                numericUpDown1.Maximum = value;
            }
        }


        private void button1_Click(object sender, EventArgs e)
        {
            LineTo = (int)numericUpDown1.Value;
            this.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.Close();
        }
    }
}
